{include file="common/header"/}
<div class="lemo-container">
  <div class="lemo-main">
      <div class="admin-main layui-anim layui-anim-upbit">
          <fieldset class="layui-elem-field layui-field-title">
              <legend>添加 sku</legend>
          </fieldset>
      <form class="layui-form layui-form-pane" action="">
        
          <div class="layui-form-item">
            <label class="layui-form-label">数量</label>
            <div class="layui-input-block">
              <input type="hidden" name="id" value="{$id}">
              <input type="number" name="num" required  lay-verify="required" placeholder="请输入数量" autocomplete="off" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">价格</label>
            <div class="layui-input-block">
              <input type="number"  name="price" required  lay-verify="required" placeholder="请输入金额" autocomplete="off" class="layui-input">
            </div>
          </div>

          <div class="layui-form-item">
            <label class="layui-form-label">运费</label>
            <div class="layui-input-block">
              <input type="number"  name="shipping_fee" required  lay-verify="required" placeholder="请输入运费" autocomplete="off" class="layui-input">
            </div>
          </div>

        <div class="layui-form-item">
          <div class="layui-input-inline">
              <button type="button" class="layui-btn" lay-submit="" lay-filter="submit">{:lang('submit')}</button>
              <a data-href="{:url('index')}" class="layui-btn layui-btn-primary back">{:lang('back')}</a>
          </div>
      </div>
        </form>
  </div>
  </div>
</div>
  {include file="common/footer"/}

<script>
  layui.config({
      base: '/static/admin/js/',
      version: true
  }).extend({
      Admin: 'Admin',
  }).use(['form','Admin'], function () {
      var form = layui.form, layer = layui.layer,$= layui.jquery;
      form.render();

  });
</script>